#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>

int main()
{
    char a_str[] = "------------------------------";
    char b_str[] = "hello world c python linux ...";
    int left = 0;
    int right = strlen(b_str);
    while (left <= right)
    {
        a_str[left] = b_str[left];
        a_str[right] = b_str[right];
        left++; right--;
        printf("%s\n", a_str);
        sleep(1);
        system("clear");
    }
    return 0;
}
